<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html"><head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>CRUD示例</title>
	<script src="//cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
	<script type="text/javascript" src="js/main_ajax.js"></script>
</head>

<body>
	<h2>CRUD（增加Create、查询Retrieve、更新Update、删除Delete）示例</h2>

	<table cellspacing="1" style="background-color: #a0c6e5">
		<tr><td>ID：</td>
			<td><input id="p_id" value="1234" /></td>
		</tr>
		<tr><td>水果：</td>
			<td><input id="p_name" value="苹果"/></td>
		</tr>
		<tr><td>价格：</td>
			<td><input id="p_price" value="18.00"/></td>
		</tr>
	</table>
	<button id="add_product">增加水果</button>
	<button id="update_product">更新水果</button>
	<button id="delete_product">删除水果</button>
	<br/>
	<button id="get_product">查询库存水果</button>
	<br/>
	<br/>

	<div id="result">
	</div>
</body>
</html>